[INFO] cloning repository https://github.com/carfdev/invoice-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carfdev/invoice-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarfdev%2Finvoice-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarfdev%2Finvoice-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a5909a147f2fcd35aedb748c425b582f41246a3
[INFO] fixing carfdev/invoice-api against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarfdev%2Finvoice-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/carfdev/invoice-api
[INFO] finished tweaking git repo https://github.com/carfdev/invoice-api
[INFO] tweaked toml for git repo https://github.com/carfdev/invoice-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carfdev/invoice-api on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/carfdev/invoice-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs-err v3.3.0
[INFO] [stderr]   Downloaded axum-server v0.8.0
[INFO] [stderr]   Downloaded asn1-rs v0.7.1
[INFO] [stderr]   Downloaded arc-swap v1.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab
[INFO] running `Command { std: "docker" "start" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling aws-lc-rs v1.16.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling uuid v1.22.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.38.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling asn1-rs-derive v0.6.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking asn1-rs v0.7.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling fs-err v3.3.0
[INFO] [stderr]    Compiling oid-registry v0.8.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking arc-swap v1.8.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking der-parser v10.0.0
[INFO] [stderr]     Checking x509-parser v0.18.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking axum-server v0.8.0
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking invoice-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 28 | |             FROM companies
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |             id
[INFO] [stdout] 32 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 44 | |             r#"
[INFO] [stdout] 45 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 46 | |             FROM companies
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             common_name
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 28 | |             FROM companies
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |             id
[INFO] [stdout] 32 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             INSERT INTO companies (id, common_name, is_active, created_at, updated_at)
[INFO] [stdout] 64 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             company.updated_at()
[INFO] [stdout] 76 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |           let records = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 86 | |             r#"
[INFO] [stdout] 87 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 88 | |             FROM companies
[INFO] [stdout] 89 | |             ORDER BY created_at DESC
[INFO] [stdout] 90 | |             "#
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 44 | |             r#"
[INFO] [stdout] 45 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 46 | |             FROM companies
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             common_name
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         sqlx::query!(
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             INSERT INTO companies (id, common_name, is_active, created_at, updated_at)
[INFO] [stdout] 64 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             company.updated_at()
[INFO] [stdout] 76 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/company_repo.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |           let records = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 86 | |             r#"
[INFO] [stdout] 87 | |             SELECT id, common_name, is_active, created_at, updated_at
[INFO] [stdout] 88 | |             FROM companies
[INFO] [stdout] 89 | |             ORDER BY created_at DESC
[INFO] [stdout] 90 | |             "#
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |             SELECT company_id, billing_period, total_api_calls, total_invoices_generated, last_updated
[INFO] [stdout] 31 | |             FROM usage_metrics
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |             billing_period
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         sqlx::query!(
[INFO] [stdout] 59 | |             r#"
[INFO] [stdout] 60 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 61 | |             VALUES ($1, $2, 1, 0, NOW())
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             billing_period
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 84 | |             VALUES ($1, $2, 0, 1, NOW())
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |             billing_period
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/metrics_repo.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | /         sqlx::query!(
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 104 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |             metrics.total_invoices_generated() as i64
[INFO] [stdout] 114 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/metrics_repo.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let records = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             SELECT company_id, billing_period, total_api_calls, total_invoices_generated, last_updated
[INFO] [stdout] 129 | |             FROM usage_metrics
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |             billing_period
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |           let record = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |             SELECT company_id, billing_period, total_api_calls, total_invoices_generated, last_updated
[INFO] [stdout] 31 | |             FROM usage_metrics
[INFO] [stdout] ...  |
[INFO] [stdout] 35 | |             billing_period
[INFO] [stdout] 36 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         sqlx::query!(
[INFO] [stdout] 59 | |             r#"
[INFO] [stdout] 60 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 61 | |             VALUES ($1, $2, 1, 0, NOW())
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             billing_period
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/metrics_repo.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | /         sqlx::query!(
[INFO] [stdout] 82 | |             r#"
[INFO] [stdout] 83 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 84 | |             VALUES ($1, $2, 0, 1, NOW())
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |             billing_period
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/metrics_repo.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | /         sqlx::query!(
[INFO] [stdout] 102 | |             r#"
[INFO] [stdout] 103 | |             INSERT INTO usage_metrics (company_id, billing_period, total_api_calls, total_invoices_generated, last_updated)
[INFO] [stdout] 104 | |             VALUES ($1, $2, $3, $4, NOW())
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |             metrics.total_invoices_generated() as i64
[INFO] [stdout] 114 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/metrics_repo.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let records = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             SELECT company_id, billing_period, total_api_calls, total_invoices_generated, last_updated
[INFO] [stdout] 129 | |             FROM usage_metrics
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |             billing_period
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/invoice_repo.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |           let invoice_rec = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 50 | |             r#"SELECT id, company_id, status, created_at, updated_at FROM invoices WHERE id = $1"#,
[INFO] [stdout] 51 | |             id
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/invoice_repo.rs:63:25
[INFO] [stdout]    |
[INFO] [stdout] 63 |           let items_rec = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 64 | |             r#"SELECT description, quantity, unit_price_cents FROM invoice_line_items WHERE invoice_id = $1"#,
[INFO] [stdout] 65 | |             id
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/invoice_repo.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |           let invoice_rec = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 50 | |             r#"SELECT id, company_id, status, created_at, updated_at FROM invoices WHERE id = $1"#,
[INFO] [stdout] 51 | |             id
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/invoice_repo.rs:63:25
[INFO] [stdout]    |
[INFO] [stdout] 63 |           let items_rec = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 64 | |             r#"SELECT description, quantity, unit_price_cents FROM invoice_line_items WHERE invoice_id = $1"#,
[INFO] [stdout] 65 | |             id
[INFO] [stdout] 66 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:96:23
[INFO] [stdout]     |
[INFO] [stdout]  96 |           let records = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout]  97 | |             r#"
[INFO] [stdout]  98 | |             SELECT id, company_id, status, created_at, updated_at 
[INFO] [stdout]  99 | |             FROM invoices 
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |             offset as i64
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:96:23
[INFO] [stdout]     |
[INFO] [stdout]  96 |           let records = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout]  97 | |             r#"
[INFO] [stdout]  98 | |             SELECT id, company_id, status, created_at, updated_at 
[INFO] [stdout]  99 | |             FROM invoices 
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |             offset as i64
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         sqlx::query!(
[INFO] [stdout] 125 | |             r#"
[INFO] [stdout] 126 | |             UPDATE invoices 
[INFO] [stdout] 127 | |             SET status = 'Cancelled', updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 130 | |             id
[INFO] [stdout] 131 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | /         sqlx::query!(
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             INSERT INTO invoices (id, company_id, status, created_at, updated_at)
[INFO] [stdout] 152 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |             invoice.updated_at()
[INFO] [stdout] 162 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         sqlx::query!(r#"DELETE FROM invoice_line_items WHERE invoice_id = $1"#, invoice.id())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         sqlx::query!(
[INFO] [stdout] 125 | |             r#"
[INFO] [stdout] 126 | |             UPDATE invoices 
[INFO] [stdout] 127 | |             SET status = 'Cancelled', updated_at = NOW()
[INFO] [stdout] ...   |
[INFO] [stdout] 130 | |             id
[INFO] [stdout] 131 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | /         sqlx::query!(
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             INSERT INTO invoices (id, company_id, status, created_at, updated_at)
[INFO] [stdout] 152 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |             invoice.updated_at()
[INFO] [stdout] 162 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         sqlx::query!(r#"DELETE FROM invoice_line_items WHERE invoice_id = $1"#, invoice.id())
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 | /             sqlx::query!(
[INFO] [stdout] 177 | |                 r#"
[INFO] [stdout] 178 | |                 INSERT INTO invoice_line_items (id, invoice_id, description, quantity, unit_price_cents)
[INFO] [stdout] 179 | |                 VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |                 item.unit_price_cents()
[INFO] [stdout] 186 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/db/invoice_repo.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 | /             sqlx::query!(
[INFO] [stdout] 177 | |                 r#"
[INFO] [stdout] 178 | |                 INSERT INTO invoice_line_items (id, invoice_id, description, quantity, unit_price_cents)
[INFO] [stdout] 179 | |                 VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |                 item.unit_price_cents()
[INFO] [stdout] 186 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/document_repo.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |           let records = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             SELECT id, invoice_id, document_type, storage_url, file_hash, created_at
[INFO] [stdout] 39 | |             FROM documents
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |             invoice_id
[INFO] [stdout] 44 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/document_repo.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | /         sqlx::query!(
[INFO] [stdout] 65 | |             r#"
[INFO] [stdout] 66 | |             INSERT INTO documents (id, invoice_id, document_type, storage_url, file_hash, created_at)
[INFO] [stdout] 67 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             document.created_at() // Note: Requires adding getter to Document
[INFO] [stdout] 76 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/document_repo.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |           let records = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 37 | |             r#"
[INFO] [stdout] 38 | |             SELECT id, invoice_id, document_type, storage_url, file_hash, created_at
[INFO] [stdout] 39 | |             FROM documents
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |             invoice_id
[INFO] [stdout] 44 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/db/document_repo.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | /         sqlx::query!(
[INFO] [stdout] 65 | |             r#"
[INFO] [stdout] 66 | |             INSERT INTO documents (id, invoice_id, document_type, storage_url, file_hash, created_at)
[INFO] [stdout] 67 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             document.created_at() // Note: Requires adding getter to Document
[INFO] [stdout] 76 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `invoice-api` (lib test) due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `invoice-api` (lib) due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab", kill_on_drop: false }`
[INFO] [stdout] 09b9a24f0270bf49469cc723667d82b901f30cefcb42bf6f022b8b62e88e92ab
